package net.learn.piggy.listener;

import net.learn.piggy.event.MyApplicationEvent;
import org.springframework.context.ApplicationListener;


public class MyApplicationListener implements ApplicationListener<MyApplicationEvent> {
    @Override
    public void onApplicationEvent(MyApplicationEvent event) {
        System.out.println("MyApplicationListener --> onApplicationEvent");
    }
}
